//
//  CYHDrawCell.m
//  Cat
//
//  Created by dllo on 15/11/27.
//  Copyright (c) 2015年 dllo. All rights reserved.
//

#import "CYHDrawCell.h"

@implementation CYHDrawCell

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

- (instancetype)initWithFrame:(CGRect)frame {
    self = [super initWithFrame:frame];
    if (self) {
        self.brandImageView = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, CELL_WIDTH, CELL_HEIHGT)];
        [self.contentView addSubview:self.brandImageView];
        self.brandImageView.layer.cornerRadius = VIEW_WIDTH / 10;
        self.brandImageView.layer.masksToBounds = YES;
    }
    return self;
}

@end
